﻿<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>变量弱类型转换</title>
</head>
<body>
<script>
console.log(1+"2"+"2");       // 行1
console.log(1+ +"2" + "2");   // 行2
console.log("A" - "B" + "2"); // 行3
console.log("A" - "B" + 2);   // 行4
</script>
</body>
</html>
